/*    */ package com.feeyin.radar.sys.service;
/*    */ 
/*    */ import com.feeyin.radar.sys.model.ModelLog;
/*    */ import java.io.PrintStream;
/*    */ import java.util.Date;
/*    */ import org.springframework.beans.factory.BeanFactory;
/*    */ import org.springframework.context.support.ClassPathXmlApplicationContext;
/*    */ 
/*    */ public class TestModelLogService
/*    */ {
/*    */   public static void main(String[] args)
/*    */   {
/* 21 */     ClassPathXmlApplicationContext appContext = new ClassPathXmlApplicationContext(
/* 22 */       new String[] { "context/applicationContext.xml" });
/* 23 */     BeanFactory factory = appContext;
/*    */ 
/* 25 */     ModelLogService modelLogService = (ModelLogService)factory.getBean("modelLogService");
/*    */ 
/* 27 */     ModelLog modelLog = new ModelLog();
/* 28 */     modelLog.setLogDate(new Date());
/* 29 */     modelLog.setUserId(Integer.valueOf(2));
/* 30 */     modelLog.setFunctionId(Integer.valueOf(52));
/* 31 */     modelLog.setFunctionOperate("521");
/* 32 */     System.out.println(modelLogService.insertModelLog(modelLog));
/*    */   }
/*    */ }

/* Location:           C:\Users\e547415\MyProject\rone\WEB-INF\classes\
 * Qualified Name:     com.feeyin.radar.sys.service.TestModelLogService
 * JD-Core Version:    0.6.0
 */